import { FileSchema } from './FileSchema'
// 代理人
export interface AgentSchema {
  accountid: string
  action_subject: string
  address: string
  area: string
  caseid: string
  certifyid: string
  corporation: string
  create_datetime: number
  email: string
  file?: FileSchema[]
  file1?: FileSchema[]
  fileid: string
  fileid1: string
  id?: string
  license: string
  license_type: string
  mobile: string
  name: string
  operator: string
  operatorid: string
  party: AgentPartySchema[]
  party_name: string
  party_type: string
  status: number
  structure: string
  subject_casecode: string
  tel: string
  zip_code: string
  [p: string]: any
}

// 代理人的当事人
export interface AgentPartySchema {
  caseid: string
  fileid: string
  file?: FileSchema[]
  partyid: string
  representativeid: string
  scope: string | string[]
  scope_type: string
  type: string
  [p: string]: any
}
